package com.act.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.act.domain.PerformanceEvaluation;

//绩效评价
public interface IPerformanceEvaluationDao {
	
	//查询列表
	List<Map> getAll(@Param("startIndex")int startIndex,@Param("endIndex")int endIndex);
	
	//根据id查询一条信息
	PerformanceEvaluation getById(@Param("id")int id);
	
	//增
	void add(PerformanceEvaluation performanceEvaluation);
	
	//改
	void update(PerformanceEvaluation performanceEvaluation);
	
	//删
	void delete(int id);
	
	//查总记录数
	int getCounts(@Param("jobnum") String jobnum,@Param("deal_status") int deal_status) ;
	
	//查询所有有分页 根据工号查询它的绩效评价
	List<Map> getByJobnumOrState(@Param("deal_status") int deal_status,@Param("jobnum") String jobnum,@Param("startIndex") int startIndex,@Param("endIndex") int endIndex);
}
